package com.jvm.simulation.hotspot;

import ch.qos.logback.classic.ClassicConstants;
import cn.hutool.core.convert.BasicType;
import lombok.Data;

@Data
public class AccessFlags {

    private int flag;

    public AccessFlags(int flag) {
        this.flag = flag;
    }

    public boolean isStatic() {
        return (flag & ClassConstants.JVM_ACC_STATIC) != 0;
    }
}